﻿namespace cndp.Model.IModel
{
    public interface IContestList
    {
        void DeleteContestByIndex(int index);
        bool EditContest(Contest e);
        bool AddContest(Contest e);
        int GetNumberOfDiversForSpecificContest(int index);
        int GetNumberOfJudgesForSpecificContest(int index);
        Contest GetContest(int index);
        ContestList GetContestList();
        void SaveContestListToXmlFile(string fileName);
        void ReadContestListFromXmlFile(string fileName);
        Contest ReadContestFromXmlFile(string fileName);
    }
}